<?php
/**
 * This is the Component class for table unset array index".
 */
class ArrayUnsetComponent extends CApplicationComponent
{
    public function init() {
    }    
    
    /**
	 * Finds the property city 
	 * calculates the property city matching the property ids provided 
	 * @param int $getPropertyId property id
	 * @access public
	 * @return array 
	 */
	public function remove_keys($arrData=array(),$remove_keys=array())
	{	
	if(is_array($arrData) && count($arrData)>0)
	{
		if(is_array($remove_keys) && count($remove_keys)>0)
		{		
			foreach ($remove_keys as $value) {	
				if($arrData[$value]){ 	
					unset($arrData[$value]);	
				}
			}
		}
	}
	return $arrData;
	
	}
    
	
}